{config_load file="$language/lang_$language.conf" section="index"}
{config_load file="$language/lang_$language.conf" section="product_filter"}
{if $error!=''}
<div class="red">{$error}</div><br /><br />
{/if}
{if $KEYWORDS}<h1 style="display:inline">{$KEYWORDS}</h1>{/if}
{if $filter_request}
	<h1 style="display:inline">{#you_search#} <em>{$filter_request}</em></h1>
{/if}
{*if $FILTER_SEARCH}<h1 style="display:inline">{$FILTER_SEARCH}</h1>{/if*}
{if $TITLE}<h2>{$TITLE}</h2>{/if}
{$TAG_COUNT}
{if $CATEGORIES_DESCRIPTION}
	<div class="xm-cat-description" data-role="collapsible" data-collapsed="true"> 
		{if $CATEGORIES_HEADING_TITLE}
			<h3>{$CATEGORIES_HEADING_TITLE}</h3>
		{else}
			<h3>{$CATEGORIES_NAME}</h3>
		{/if}
		{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" class="imgLeft" />{/if}
		{$CATEGORIES_DESCRIPTION} 
	</div>
{/if}
{if $MANUFACTURERS_DESCRIPTION !=''}
	<div class="xm-cat-description" data-role="collapsible" data-collapsed="true">
		{if $MANUFACTURERS_IMAGE != ''}
			<img src="{$MANUFACTURERS_IMAGE}" alt="Picture - {$MANUFACTURERS_NAME}" title="{$MANUFACTURERS_NAME}" class="fl p_lr_5" />
		{/if}
		{if $MANUFACTURERS_NAME != ''}
			<h1>{$MANUFACTURERS_NAME}</h1><br />
		{/if}
		{$MANUFACTURERS_DESCRIPTION}<br /><br />
	</div>	
<br style="clear:both" />
{/if}

{if $MANUFACTURER_DROPDOWN || $MULTISORT_DROPDOWN}
	{$MANUFACTURER_DROPDOWN}
	{$MULTISORT_DROPDOWN}
	<br class="clearfix" /><br />
{/if}

<section>
{if !$cross_selling}
	<ul data-role="listview" class="xm-productlist">
		{foreach name=aussen item=module_data from=$module_content}
			<li data-icon="search">
				<a href="{$module_data.PRODUCTS_LINK}">
					{if $module_data.PRODUCTS_IMAGE!=''}
						<img src="{$module_data.PRODUCTS_IMAGE}" {$module_data.PRODUCTS_IMAGE_DIMENSION} alt="{$module_data.PRODUCTS_NAME}" />
					{else}
						<img src="{$tpl_path}img/noimage.gif" alt="{$module_data.PRODUCTS_NAME}" />
					{/if}
					{if $module_data.PRODUCTS_NAME}
						<h2>{$module_data.PRODUCTS_NAME}</h2>
					{/if}
					
					{if $module_data.PRODUCTS_DESCRIPTION}
						<p>
							{$module_data.PRODUCTS_DESCRIPTION}
						</p>
					{/if}
				</a>
				{if $module_data.CATEGORIES_NAME}
					<div class="ac">
						{#text_category#}<a href="{$module_data.CATEGORIES_LINK}">{$module_data.CATEGORIES_NAME}</a><br />
					</div>
				{/if}
				 <div>
					{if $module_data.PRODUCTS_STOCK_IMG}<span class="xm-product-price">{#text_stock#} {$module_data.PRODUCTS_STOCK_IMG}</span><br />{/if}
					{if $module_data.PRODUCTS_PRICE}<span class="xm-product-price ui-btn-up-a ui-btn-corner-all" >{$module_data.PRODUCTS_PRICE}</span><br />
					{if $module_data.PRODUCTS_VPE}<span class="xm-product-price">{#text_vpe#} {$module_data.PRODUCTS_VPE}</span><br />{/if}
					{if $module_data.PRODUCTS_MODEL}<span class="xm-product-price">{#text_model#} {$module_data.PRODUCTS_MODEL}</span><br />{/if}
					{if $module_data.PRODUCTS_WEIGHT !=0}<span class="xm-product-price">{#text_weight#} {$module_data.PRODUCTS_WEIGHT}</span><br />{/if}
					<span class="xm-product-price">{$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK}</span><br />{/if}
				</div>
	        </li>
		{/foreach}
	</ul>
	<br class="clearfix" />


{/if}


{if $cross_selling}
	{foreach name=aussen item=module_data from=$module_content}
		<h2>{$module_data.GROUP}</h2>
		<ul data-role="listview" class="xm-productlist">
			{foreach item=products_data from=$module_data.PRODUCTS}
				<li data-icon="search"> 
						<h2>
							<a href="{$products_data.PRODUCTS_LINK}" title="{$products_data.PRODUCTS_NAME}">
							<img class="img_border box_shadow" src="{$products_data.PRODUCTS_IMAGE}" {$products_data.PRODUCTS_IMAGE_DIMENSION} alt="{$products_data.PRODUCTS_IMAGE_ALT}" title="{$products_data.PRODUCTS_NAME}" />
								{$products_data.PRODUCTS_NAME}
							</a>
						</h2>
					<p>
						{$products_data.PRODUCTS_DESCRIPTION}

					</p>
				
					<div>
						{if $products_data.PRODUCTS_STOCK_IMG}<span class="fs85">{#text_stock#} {$products_data.PRODUCTS_STOCK_IMG}</span>{/if}
						{if $products_data.PRODUCTS_PRICE}<span class="xm-product-price ui-btn-up-a ui-btn-corner-all" >{$products_data.PRODUCTS_PRICE}</span><br />
						{if $products_data.PRODUCTS_VPE}<span class="fs85">{#text_vpe#} {$products_data.PRODUCTS_VPE}</span><br />{/if}
						{if $products_data.PRODUCTS_MODEL}<span class="fs85">{#text_model#} {$products_data.PRODUCTS_MODEL}</span><br />{/if}
						{if $products_data.PRODUCTS_WEIGHT !=0}<span class="fs85">{#text_weight#} {$products_data.PRODUCTS_WEIGHT}</span><br />{/if}
						<span class="fs85">{$products_data.PRODUCTS_TAX_INFO}{$products_data.PRODUCTS_SHIPPING_LINK}</span><br />{/if}
						{$products_data.PRODUCTS_BUTTON_DETAILS} {$products_data.PRODUCTS_BUTTON_BUY_NOW} {$products_data.PRODUCTS_BUTTON_WISHLIST}
					</div>
				</li>
			{/foreach}
		</ul>
		<br class="clearfix" />
	{/foreach}


{/if}

</section><br />
<div class="xm-page-navi">{$NAVIGATION}</div>

{literal}
<script type="text/javascript">
jQuery(document).ready(function() {
	jQuery('.gallery_item').hover(function() {
		jQuery(this).addClass('gallery_item_hover');
	}, function() {
		jQuery(this).removeClass('gallery_item_hover');
	});
	jQuery('.only_one').hover(function() {
		jQuery(this).addClass('gallery_item_hover');
	}, function() {
		jQuery(this).removeClass('gallery_item_hover');
	});	
});
</script>
{/literal}


